package com.wuh.model;

import java.io.Serializable;

/**
 * 公开课附件表(ClassAttachment)实体类
 */
public class ClassAttachment  implements Serializable {

    /**
     * 文件Id
     */
    private Integer attachmentId;
    /**
     * 公开课id
     */
    private Integer classId;
    /**
    * 附件的原始文件名
    */
    private String attachmentName;
    /**
    * 保存路径
    */
    private String attachmentUrl;
    /**
    * 附件大小单位M
    */
    private Float attachmentSize;


    public Integer getAttachmentId() {
        return attachmentId;
    }

    public void setAttachmentId(Integer attachmentId) {
        this.attachmentId = attachmentId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName;
    }

    public String getAttachmentUrl() {
        return attachmentUrl;
    }

    public void setAttachmentUrl(String attachmentUrl) {
        this.attachmentUrl = attachmentUrl;
    }

    public Float getAttachmentSize() {
        return attachmentSize;
    }

    public void setAttachmentSize(Float attachmentSize) {
        this.attachmentSize = attachmentSize;
    }

    @Override
    public String toString() {
        return "ClassAttachment{" +
                "attachmentId=" + attachmentId +
                ", classId=" + classId +
                ", attachmentName='" + attachmentName + '\'' +
                ", attachmentUrl='" + attachmentUrl + '\'' +
                ", attachmentSize=" + attachmentSize +
                '}';
    }
}